package com.coke.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 19602
 * @ServletComponentScan:解决Access to XMLHttpRequest at'http://localhost的跨域限制问题
 */
@ServletComponentScan
@SpringBootApplication

@MapperScan(value = "com.coke.demo.mapper")
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
